package ae.pcfc.cldos.online.common.delegate.provider;

import ae.pcfc.cldos.online.common.ConstantsCommon.Steps;
import ae.pcfc.cldos.online.common.delegate.BaseDelegate;
import ae.pcfc.cldos.online.common.delegate.EmploymentVisaRenewalDelegate;
import ae.pcfc.cldos.online.common.facade.EmploymentVisaRenewalFacade;
import ae.pcfc.cldos.online.common.vo.AppSaveResponseVO;
import ae.pcfc.cldos.online.common.vo.UserVO;
import ae.pcfc.cldos.online.common.vo.ev.ren.can.EmploymentVisaRenewalVO;

/**
 * 
 * @author arosa
 *
 */
public class EmploymentVisaRenewalDelegateImpl extends BaseDelegate implements EmploymentVisaRenewalDelegate {

	public EmploymentVisaRenewalVO getEmploymentVisaRenewalAppInfo(String appId, UserVO userVO, Steps step)throws Exception{
		return getServiceLocator().getFacadeService(EmploymentVisaRenewalFacade.class).getEmploymentVisaRenewalAppInfo(appId, userVO, step);
	}
	
	public AppSaveResponseVO submit(EmploymentVisaRenewalVO employmentVisaRenewalVO) throws Exception{
		return getServiceLocator().getFacadeService(EmploymentVisaRenewalFacade.class).submit(employmentVisaRenewalVO);
	}
	
	public AppSaveResponseVO reSubmit(EmploymentVisaRenewalVO employmentVisaRenewalVO, String appId) throws Exception{
		return getServiceLocator().getFacadeService(EmploymentVisaRenewalFacade.class).reSubmit(employmentVisaRenewalVO, appId);
	}
}
